Since CPP is being used with CFLAGS, it should be in lock-step with CC,
authorEwan Mellor <ewan@xensource.com>
Fri, 23 Mar 2007 11:32:32 +0000 (11:32 +0000)
committerEwan Mellor <ewan@xensource.com>
Fri, 23 Mar 2007 11:32:32 +0000 (11:32 +0000)
to avoid having to specify both CC and CPP for the build.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
config/StdGNU.mk

index 8c947f48328bbe6aadb20b49bbd9d8068e27c10a..fd7bc53a56edc3c3975690c18e2a4da95565faf3 100644 (file)
@@ -1,7 +1,7 @@
 AS         = $(CROSS_COMPILE)as
 LD         = $(CROSS_COMPILE)ld
 CC         = $(CROSS_COMPILE)gcc
-CPP        = $(CROSS_COMPILE)gcc -E
+CPP        = $(CC) -E
 AR         = $(CROSS_COMPILE)ar
 RANLIB     = $(CROSS_COMPILE)ranlib
 NM         = $(CROSS_COMPILE)nm